package com.basic.library.base;

import com.basic.library.R;

import java.io.File;


public class BaseConstants {
    //当前位置
    public static double myLat = 31.516526, myLng = 120.488869;
    public static final long FILE_IMAGE_MAXSIZE = 500 * 1024; // 图片上传文件的最大大小

    //当前位置
    public final static String[] MONTHS = {"JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC"};
    public final static String[] WEEKS = {"SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"};
    public static String Save_RootFile = BaseApplication.getInstance().getString(R.string.app_name_en); // 应用的存放的文件夹
    public static String BASE_ROOTFILE = BaseApplication.getInstance().getExternalFilesDir(null)
            + File.separator;
    public static String BASE_CACHE = BaseApplication.getInstance().getExternalCacheDir()
            + File.separator;

    // 应用的存储SD卡的文件夹地址
    public static String CACHE_FILE_PATH = BASE_ROOTFILE + "filecache/";
    public static String CACHE_AUDIO_PATH = BASE_ROOTFILE + "AUDIO/";
    public static String CACHE_WEB_PATH = BASE_ROOTFILE + "webcache/";
    public static String CACHE_IMG_PATH = BASE_ROOTFILE + "imgcache/";
    public static String CACHE_IMG_TEMP_PATH = BASE_ROOTFILE + "uploadimg/";
    public static String CACHE_SAVE_IMG_PATH = BASE_ROOTFILE + "imgs/"; // 保存相册的路径

    public static String FILE_PATH = BASE_ROOTFILE + "file";
    public static final String SharedPreferences_LoginInfo = "LoginInfo"; // 登录的用户名，密码等帐号列表的key索引
    public static String AccountManager_NAME = "com." + Save_RootFile
            + ".accountmanager";
    public static String Time = "Time"; // 位置信息索引
    public static String SharedPreferences_chart = "chart";

}
